Change in openvpn[master]: [AWS-LC] Add missing return and cast in ssl_tls1_PRF
A message that is not in the archive (sent off-list or not yet received): gerrit.1773243451000.I7843ff1422cc3b46870749b2daab1698646d43eb@...2715...
plaisthos has uploaded this change for review. ( http://gerrit.openvpn.net/c/openvpn/+/1567?usp=email )
Change subject: [AWS-LC] Add missing return and cast in ssl_tls1_PRF
......................................................................
[AWS-LC] Add missing return and cast in ssl_tls1_PRF
Change-Id: I7843ff1422cc3b46870749b2daab1698646d43eb
---
M src/openvpn/crypto_openssl.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/67/1567/1
src/openvpn/crypto_openssl.c +2 -1
@@ -1412,7 +1412,8 @@ ssl_tls1_PRF(const uint8_t *label, size_t label_len, const uint8_t *sec, size_t slen, uint8_t *out1, size_t olen) { - CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec, slen, label, label_len, NULL, 0, NULL, 0); + return CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec, slen, + (const char *)label, label_len, NULL, 0, NULL, 0); }#elif !defined(LIBRESSL_VERSION_NUMBER ) && !defined(ENABLE_CRYPTO_WOLFSSL )#if defined(__GNUC__) || defined(__clang__)
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1567?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7843ff1422cc3b46870749b2daab1698646d43eb
Gerrit-Change-Number: 1567
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Attention is currently required from: plaisthos.
flichtenheld has posted comments on this change by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1567?usp=email )
Change subject: [AWS-LC] Add missing return and cast in ssl_tls1_PRF
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1567?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7843ff1422cc3b46870749b2daab1698646d43eb
Gerrit-Change-Number: 1567
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Fri, 13 Mar 2026 10:52:01 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
PATCH 1/1 Add missing return and cast in ssl_tls1_PRF
In reply to a message not in the archiveFrom: Arne Schwabe <[email protected]...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1567
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1567
This mail reflects revision 1 of this Change.
Signed-off-by line for the author was added as per our policy.
Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]...>
src/openvpn/crypto_openssl.c +2 -1
@@ -1412,7 +1412,8 @@ ssl_tls1_PRF(const uint8_t *label, size_t label_len, const uint8_t *sec, size_t slen, uint8_t *out1, size_t olen) { - CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec, slen, label, label_len, NULL, 0, NULL, 0); + return CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec, slen, + (const char *)label, label_len, NULL, 0, NULL, 0); }#elif !defined(LIBRESSL_VERSION_NUMBER ) && !defined(ENABLE_CRYPTO_WOLFSSL )#if defined(__GNUC__) || defined(__clang__)
[Openvpn-devel] [XS] Change in openvpn[master]: AWS-LC: Add missing return and cast in ssl_tls1_PRF
In reply to a message not in the archiveAttention is currently required from: flichtenheld, plaisthos.
Hello flichtenheld,
I'd like you to reexamine a change. Please visit
http://gerrit.openvpn.net/c/openvpn/+/1567?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld
Change subject: AWS-LC: Add missing return and cast in ssl_tls1_PRF
......................................................................
AWS-LC: Add missing return and cast in ssl_tls1_PRF
Change-Id: I7843ff1422cc3b46870749b2daab1698646d43eb
---
M src/openvpn/crypto_openssl.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/67/1567/3
src/openvpn/crypto_openssl.c +2 -1
@@ -1412,7 +1412,8 @@ ssl_tls1_PRF(const uint8_t *label, size_t label_len, const uint8_t *sec, size_t slen, uint8_t *out1, size_t olen) { - CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec, slen, label, label_len, NULL, 0, NULL, 0); + return CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec, slen, + (const char *)label, label_len, NULL, 0, NULL, 0); }#elif !defined(LIBRESSL_VERSION_NUMBER ) && !defined(ENABLE_CRYPTO_WOLFSSL )#if defined(__GNUC__) || defined(__clang__)
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1567?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7843ff1422cc3b46870749b2daab1698646d43eb
Gerrit-Change-Number: 1567
Gerrit-PatchSet: 3
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
[Openvpn-devel] [XS] Change in openvpn[master]: AWS-LC: Add missing return and cast in ssl_tls1_PRF
In reply to a message not in the archiveAttention is currently required from: plaisthos.
flichtenheld has posted comments on this change by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1567?usp=email )
Change subject: AWS-LC: Add missing return and cast in ssl_tls1_PRF
......................................................................
Patch Set 3: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1567?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7843ff1422cc3b46870749b2daab1698646d43eb
Gerrit-Change-Number: 1567
Gerrit-PatchSet: 3
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Fri, 13 Mar 2026 13:59:20 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
PATCH v3 1/1 AWS-LC: Add missing return and cast in ssl_tls1_PRF
In reply to a message not in the archiveFrom: Arne Schwabe <[email protected]...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1567
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1567
This mail reflects revision 3 of this Change.
Signed-off-by line for the author was added as per our policy.
Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]...>
src/openvpn/crypto_openssl.c +2 -1
@@ -1412,7 +1412,8 @@ ssl_tls1_PRF(const uint8_t *label, size_t label_len, const uint8_t *sec, size_t slen, uint8_t *out1, size_t olen) { - CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec, slen, label, label_len, NULL, 0, NULL, 0); + return CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec, slen, + (const char *)label, label_len, NULL, 0, NULL, 0); }#elif !defined(LIBRESSL_VERSION_NUMBER ) && !defined(ENABLE_CRYPTO_WOLFSSL )#if defined(__GNUC__) || defined(__clang__)
[Openvpn-devel] [PATCH applied] Re: AWS-LC: Add missing return and cast in ssl_tls1_PRF
Obvious bugfix...
Your patch has been applied to the master and release/2.7 branch.
Release/2.6 does not have AWS-LC support yet.
commit 3541226a8b7767d87dfbec8724d7789966622004 (master) commit 068598717a83a9576b82dbd65308d407ba5c7a0d (release/2.7)
Author: Arne Schwabe Date: Fri Mar 13 16:30:27 2026 +0100
AWS-LC: Add missing return and cast in ssl_tls1_PRF
Signed-off-by: Arne Schwabe <[email protected]...>
Acked-by: Frank Lichtenheld <[email protected]...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1567
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36107.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
[Openvpn-devel] [XS] Change in openvpn[master]: AWS-LC: Add missing return and cast in ssl_tls1_PRF
In reply to a message not in the archivecron2 has uploaded a new patch set (#4) to the change originally created by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1567?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld
Change subject: AWS-LC: Add missing return and cast in ssl_tls1_PRF
......................................................................
AWS-LC: Add missing return and cast in ssl_tls1_PRF
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1567
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36107.html
---
M src/openvpn/crypto_openssl.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/67/1567/4
src/openvpn/crypto_openssl.c +2 -1
@@ -1412,7 +1412,8 @@ ssl_tls1_PRF(const uint8_t *label, size_t label_len, const uint8_t *sec, size_t slen, uint8_t *out1, size_t olen) { - CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec, slen, label, label_len, NULL, 0, NULL, 0); + return CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec, slen, + (const char *)label, label_len, NULL, 0, NULL, 0); }#elif !defined(LIBRESSL_VERSION_NUMBER ) && !defined(ENABLE_CRYPTO_WOLFSSL )#if defined(__GNUC__) || defined(__clang__)
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1567?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7843ff1422cc3b46870749b2daab1698646d43eb
Gerrit-Change-Number: 1567
Gerrit-PatchSet: 4
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
[Openvpn-devel] [XS] Change in openvpn[master]: AWS-LC: Add missing return and cast in ssl_tls1_PRF
In reply to a message not in the archivecron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1567?usp=email )
Change subject: AWS-LC: Add missing return and cast in ssl_tls1_PRF
......................................................................
AWS-LC: Add missing return and cast in ssl_tls1_PRF
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1567
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36107.html
---
M src/openvpn/crypto_openssl.c
1 file changed, 2 insertions(+), 1 deletion(-)
src/openvpn/crypto_openssl.c +2 -1
@@ -1412,7 +1412,8 @@ ssl_tls1_PRF(const uint8_t *label, size_t label_len, const uint8_t *sec, size_t slen, uint8_t *out1, size_t olen) { - CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec, slen, label, label_len, NULL, 0, NULL, 0); + return CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec, slen, + (const char *)label, label_len, NULL, 0, NULL, 0); }#elif !defined(LIBRESSL_VERSION_NUMBER ) && !defined(ENABLE_CRYPTO_WOLFSSL )#if defined(__GNUC__) || defined(__clang__)
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1567?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7843ff1422cc3b46870749b2daab1698646d43eb
Gerrit-Change-Number: 1567
Gerrit-PatchSet: 4
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>